//2009/08/13 02:36:51
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class Multiples
{
public:
    int number(int mmin, int mmax, int factor)
    {
		int num = 0;
		for(int i=mmin; i<=mmax; i++)
		{
			if(i % factor == 0)
				num ++;
		}
		return num;
    }
};
